<?php
/**
 * Created by PhpStorm.
 * User: m1514
 * Date: 2016/12/27
 * Time: 19:59
 */

namespace Common\Model;


class ClassModel extends BaseModel
{
    protected $pk='cid';
    protected $tableName='category';
    protected $_validate=[
      array('cname','require','请输入分类名称'),
      array('sort','require','请输入排序'),
    ];
}